<?php defined('DML') or die("Access locked");

function checkMail($email){
   $bln = TRUE;
   $patern = '~^[a-z0-9_\.-]+@[a-z0-9_\.-]+\.[a-z]{2,6}$~i';
   if(preg_match($patern, $email)){
      $bln = FALSE;
   }
   return $bln;
}
?>
